﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoccaStore.Data
{
    public interface ISlugRepository : IRepositoryBase
    {
        int Save(Slug slug);
        Slug GetByName(string name);

        void Delete(int id);

        Slug GetByID(int id);

        List<Slug> GetByParent(string name);

        List<Slug> GetByParent(int id);
    }
}
